#include <stdio.h>


int main()
{

	int h;
	int  shu;
	for(h = 1; h < 5; h++)
	{
		for(shu = h; shu <= h+4; shu++)
		{
			printf("%d ",shu);

	}	



		printf("\n");

	}
	return 0;


}